package com.appspheregroup.jj.db;

import java.util.LinkedList;

public class ShopFavorite {
	public	static String map_id="mapid";
	public	static String cat_id="cat_id";
	public static String shop_name="shopname";
	public static String shop_id ="";
	public  static LinkedList<String> _id = new LinkedList<String>();
	public static boolean is_add_favorite = false;
	public static int Id =1;
	public static boolean set_id(int id){
		if(id>4){
			Id=0;
		}
		if(!_id.contains(""+id)){
			_id.add(""+id);
			is_add_favorite = true;
			Id++;
		}
		else {
			is_add_favorite=false;
		}
		return is_add_favorite;
	}
}
